package com.zhuoshi.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.ui.Model;

import com.zhuoshi.bean.WdApartmentLayout;
import com.zhuoshi.mapper.WdApartmentLayoutMapper;
import com.zhuoshi.service.WdApartmentLayoutService;
@Service
public class WdApartmentLayoutServiceImpl implements WdApartmentLayoutService{
	
	@Autowired
	private WdApartmentLayoutMapper wdApartmentLayoutMapper;

	@Override
	public List<WdApartmentLayout> selectAp() {
		List<WdApartmentLayout>wdApartmentLayoutwdApartmentLayout=wdApartmentLayoutMapper.selectAllp();
		return wdApartmentLayoutwdApartmentLayout;
	}

	public void addA(WdApartmentLayout wdApartmentLayout) {
		wdApartmentLayoutMapper.addApartment(wdApartmentLayout);
		
	}

	public void deleteA(String apartmentLayoutId) {
		wdApartmentLayoutMapper.deleteApartment(apartmentLayoutId);
		
	}

	

	

	

}
